package com.ccrfid.rmc6.service.video;

import com.ccrfid.rmc6.appconfig.exception.pojo.AppException;
import com.ccrfid.rmc6.entity.video.VideoPlatformEntity;
import com.ccrfid.rmc6.pojo.dto.VideoPlatformDto;

import java.util.List;

public interface VideoPlatformService {
    //
    List<VideoPlatformEntity> getAllVideoPlatforms();

    //
    VideoPlatformEntity getVideoPlatformById(Long platformId);

    VideoPlatformDto getVideoPlatfromLinkageInfo(Long platformId, String clientIpAddr);

    //
    VideoPlatformEntity createVideoPlatform(VideoPlatformEntity entity) throws AppException;

    //
    VideoPlatformEntity updateVideoPlatform(Long platformId, VideoPlatformEntity entity) throws AppException;

    //
    Boolean deleteVideoPlatform(Long id) throws AppException;

    Boolean syncPlatformNode(Long platformId) throws AppException;
}
